<template>
  <router-link :to="{path:'/type',query:{index}}" class="type">
    <img :src="item.iconUrl" :alt="item.name" class="type-image" />
    <p class="type-name">{{ item.name }}</p>
  </router-link>
</template>

<script>
export default {
    props:['item','index']
};
</script> 